﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Medianamik.Core;
using Medianamik.Service.ActiveDirectory.Type;
using Medianamik.UI;
using Medianamik.UI.Controls;

namespace Medianamik.Service.ActiveDirectory
{
    public partial class GroupAssociationManagement : BaseModuleEditionPage<MedianamikActiveDirectoryAssociationGroup>
    {
        protected override string ReturnURL
        {
            get { return "GroupAssociationList.aspx"; }
        }

        public override MedianamikFormTemplate MedianamikFormTemplate
        {
            get { return Fields; }
        }

        public override Guid? TypeId
        {
            get
            {
                return MedianamikActiveDirectoryAssociationGroup.TypeID;
            }
        }

        protected override Guid? ParentNodeId
        {
            get
            {
                return MedianamikModules.ActiveDirectoryManagement;
            }
        }

        public override LinkButton SaveButton
        {
            get { return btnSave; }
        }
    }
}